<script setup>
import {ref} from "vue";

let counter = ref(0)

</script>

<template>
  <h2>{{counter}}</h2>

  <button v-on:click="--counter">-</button>
  <button v-on:click="++counter">+</button>
</template>

<style scoped>

</style>